package com.letfox.ad.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.ad.dao.ADServingScheduleDao;
import com.letfox.ad.model.ADServingSchedule;
import com.letfox.ad.service.ADServingScheduleService;

@Service
public class ADServingScheduleServiceImpl implements ADServingScheduleService {
	
	@Autowired
	private ADServingScheduleDao adServingScheduleDao;

	@Override
	public int deleteByPrimaryKey(String adScheduleId) {
		return adServingScheduleDao.deleteByPrimaryKey(adScheduleId);
	}

	@Override
	public int insert(ADServingSchedule record) {
		return adServingScheduleDao.insert(record);
	}

	@Override
	public ADServingSchedule selectByPrimaryKey(String adScheduleId) {
		return adServingScheduleDao.selectByPrimaryKey(adScheduleId);
	}

	@Override
	public int updateByPrimaryKey(ADServingSchedule record) {
		return adServingScheduleDao.updateByPrimaryKey(record);
	}

}
